require('./css/index.css');
require('./main.css');
import styles from './css/scss/main.scss';
import React from 'react';
import ReactDOM from 'react-dom';
import { HashRouter,Route,Router,Redirect } from 'react-router-dom';
import createHashHistory from 'history/createHashHistory';
import Root from './index';
import MyReact from './template/myReact';

const history = createHashHistory();
export default class Init extends React.Component {
    constructor(props) {
        super(props);        
    } 
    render() {
        return (
            <Router history={history} >
                <Root>
                    <Route path="/myReact" component={MyReact} />                  
                </Root>
            </Router>
        )
    }
}
// ReactDOM.render((
//   <Init />
// ), document.getElementById('root'));